package com.wfx.controller;


import com.wfx.entity.Result;
import com.wfx.entity.ViewOrderItm;
import com.wfx.service.IViewOrderItmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * VIEW 前端控制器
 * </p>
 *
 * @author zhu
 * @since 2021-01-27
 */
@RestController
@RequestMapping("/view-order-itm")
@CrossOrigin
public class ViewOrderItmController {
    @Autowired
    private IViewOrderItmService iViewOrderItmService;
    @RequestMapping("/item")
    public Result<ViewOrderItm> item(String orderId){
        return iViewOrderItmService.item(orderId);
    }
}
